home *** CD-ROM | disk | FTP | other *** search
- Path: mail2news.demon.co.uk!hpl3sn03.cern.ch
- From: Dan Pop <danpop@mail.cern.ch>
- Newsgroups: comp.lang.c
- Subject: Re: What Header Files Comprise the C Standard Library?
- Date: Tue, 6 Feb 1996 22:03:21 +0100
- Organization: CERN European Lab for Particle Physics
- Message-ID: <9602062103.AA20347@dxmint.cern.ch>
- References: <4f898d$jt@mother.usf.edu>
- X-NNTP-Posting-Host: hpl3sn03.cern.ch
- X-Newsreader: NN version 6.5.0 #7 (NOV)
- X-Mail2News-Path: dxmint.cern.ch!hpl3sn03.cern.ch
-
- yatesc@csee.usf.edu (Randy Yates) writes:
-
- >On UNIX, the standard library includes the functions in stdio.h
- >and time.h, but NOT the math routines in math.h, in which case
- >you must inform the linker to search the math library with
- >the "-lm" swith. Does documentation exist that defines a mapping
- >between include files and libraries?
-
- In some cases, this is documented (rather poorly) in the man pages.
- Most man pages about the <math.h> functions mention libm.a.
-
- Dan
- --
- Dan Pop
- CERN, CN Division
- Email: danpop@mail.cern.ch
- Mail: CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland
-